package com.nt.oam.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nt.oam.domain.AntHospitalOamRecord;

/**
 * 运维记录Mapper接口
 *
 * @author JZFeng
 * @date 2025-02-05
 */
public interface AntHospitalOamRecordMapper extends BaseMapper<AntHospitalOamRecord> {
    /**
     * 查询运维记录
     *
     * @param oamRecordId 运维记录主键
     * @return 运维记录
     */
    public AntHospitalOamRecord selectAntHospitalOamRecordByOamRecordId(Long oamRecordId);

    /**
     * 查询运维记录列表
     *
     * @param antHospitalOamRecord 运维记录
     * @return 运维记录集合
     */
    public List<AntHospitalOamRecord> selectAntHospitalOamRecordList(AntHospitalOamRecord antHospitalOamRecord);

    /**
     * 新增运维记录
     *
     * @param antHospitalOamRecord 运维记录
     * @return 结果
     */
    public int insertAntHospitalOamRecord(AntHospitalOamRecord antHospitalOamRecord);

    /**
     * 修改运维记录
     *
     * @param antHospitalOamRecord 运维记录
     * @return 结果
     */
    public int updateAntHospitalOamRecord(AntHospitalOamRecord antHospitalOamRecord);

    /**
     * 删除运维记录
     *
     * @param oamRecordId 运维记录主键
     * @return 结果
     */
    public int deleteAntHospitalOamRecordByOamRecordId(Long oamRecordId);

    /**
     * 批量删除运维记录
     *
     * @param oamRecordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAntHospitalOamRecordByOamRecordIds(Long[] oamRecordIds);
}
